package edu.bu.met683.TravelDroid;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;

public class TravelDroidSplash extends Activity
{
    @Override
    public void onCreate(Bundle icicle) 
    {
        super.onCreate(icicle);
        setContentView(R.layout.splash);
        Handler handler = new Handler();
        //need to change this so that it is only displayed until the route list is brough up.
        handler.postDelayed(new SplashHandler(), 1000);
        
    }
    
    class SplashHandler implements Runnable
    {
    	public void run()
    	{
    		startActivity(new Intent(getApplication(), TourList.class));
    		finish();
    	}
    }
        

}